from lxml import etree

f = open('cfdv2.xsd').read()

print type(f), f


print etree.parse(f)